﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="kinhte.aspx.cs" Inherits="kinhte" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <p>
        Trang kinh tế</p>
    <p>
        <asp:DataList ID="dataListTinTucKinhTe" runat="server" DataKeyField="MaBanTin" 
            DataSourceID="AccessDataSourceTinTucKinhTe">
            <ItemTemplate>
                <table style="width:100%;">
                    <tr>
                        <td colspan="2">
                            <asp:HyperLink ID="HyperLink5" runat="server" Font-Bold="True" 
                                Font-Size="Small" ForeColor="#FF3300" 
                                NavigateUrl='<%# Eval("MaBanTin", "bantin.aspx?MaBanTin={0}") %>' 
                                Text='<%# Eval("TieuDe") %>'></asp:HyperLink>
                            <br />
                            <asp:Label ID="Label1" runat="server" Font-Size="Small" ForeColor="#669999" 
                                Text='<%# Eval("NgayDangTin", "{0:g}") %>'></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Image ID="Image3" runat="server" Height="80px" 
                                ImageUrl='<%# Eval("HinhAnh") %>' Width="80px" />
                        </td>
                        <td>
                            <asp:Label ID="Label2" runat="server" Font-Size="Small" ForeColor="Black" 
                                Text='<%# Eval("NoiDungTomTat") %>'></asp:Label>
                        </td>
                    </tr>
                </table>
                <br />
            </ItemTemplate>
        </asp:DataList>
    </p>
    <p>
        <asp:AccessDataSource ID="AccessDataSourceTinTucKinhTe" runat="server" 
            DataFile="~/App_Data/TinTuc.mdb" 
            SelectCommand="SELECT MaBanTin, TieuDe, NoiDungTomTat, NoiDung, NgayDangTin, HinhAnh, ChuThichHinh, MaLinhVuc FROM BanTin WHERE (MaLinhVuc = 'KT')">
        </asp:AccessDataSource>
    </p>
</asp:Content>

